Part Number Hot Search : 
IRF540N LC260WX2 MUR1020 15E07SLP C8051F3 3025YSGC XF001 255004
Product Description
Full Text Search
 

To Download Q67121-C1058 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  data sheet 0 7.97 mi c r o c omp u ter componen t s c515c 8-bit cmos microcontroller
c515c data sheet revision history : 1997-07-01 previous releases : 09.96 page subjects (changes since last revision) 4 19 52, 53 56, 57 62 ssc transfer rate at 10 mhz = 2.5 mhz figure reference corrected power saving modes : description of hardware power down mode added icc specification has been extended t sclk for master mode corrected edition 1997-07-01 published by siemens ag, bereich halbleiter, marketing- kommunikation, balanstra? 73, 81541 m?nchen siemens ag 1997. all rights reserved. attention please! as far as patents or other rights of third parties are concerned, liability is only assumed for components, not for application s, processes and circuits implemented within components or assemblies. the information describes the type of component and shall not be considered as assured characteristics. terms of delivery and rights to change design reserved. for questions on technology, delivery and prices please contact the semiconductor group offices in germany or the siemens compa nies and representatives worldwide (see address list). due to technical requirements components may contain dangerous substances. for information on the types in question please cont act your nearest siemens office, semiconductor group. siemens ag is an approved cecc manufacturer. packing please use the recycling operators known to you. we can also help you ?get in touch with your nearest sales office. by agreeme nt we will take packing material back, if it is sorted. you must bear the costs of transport. for packing material that is returned to us unsorted or which we are not obliged to accept, we shall have to invoice you for an y costs in- curred. components used in life-support devices or systems must be expressly authorized for such purpose! critical components 1 of the semiconductor group of siemens ag, may only be used in life-support devices or systems 2 with the express written approval of the semiconductor group of siemens ag. 1 a critical component is a component used in a life-support device or system whose failure can reasonably be expected to cause the failure of that life-support device or system, or to affect its safety or effectiveness of that device or system. 2 life support devices or systems are intended (a) to be implanted in the human body, or (b) to support and/or maintain and sust ain hu- man life. if they fail, it is reasonable to assume that the health of the user may be endangered.
semiconductor group 3 1997-07-01 8-bit cmos microcontroller advance information c515c full upward compatibility with sab 80c515a 64k byte on-chip rom (external program execution is possible) 256 byte on-chip ram 2k byte of on-chip xram up to 64k byte external data memory superset of the 8051 architecture with 8 datapointers up to 10 mhz external operating frequency (1 m s instruction cycle time at 6 mhz external clock) on-chip emulation support logic (enhanced hooks technology tm ) current optimized oscillator circuit and emi optimized design eight ports : 48+1 digital i/o lines, 8 analog inputs quasi-bidirectional port structure (8051 compatible) port 5 selectable for bidirectional port structure (cmos voltage levels) full-can controller on-chip 256 register/data bytes are located in external data memory area max.1 mbaud at 8-10 mhz operating frequency three 16-bit timer/counters timer 2 can be used for compare/capture functions (further features are on next page) figure 1 c515c functional units enhanced hooks technology tm is a trademark of siemens ag .
c515c semiconductor group 4 1997-07-01 features (continued) : 10-bit a/d converter with multiplexed inputs and built-in self calibration full duplex serial interface with programmable baudrate generator (usart) ssc synchronous serial interface (spi compatible) master and slave capable programmable clock polarity / clock-edge to data phase relation lsb/msb first selectable 2.5 mhz transfer rate at 10 mhz operating frequency seventeen interrupt vectors, at four priority levels selectable extended watchdog facilities 15-bit programmable watchdog timer oscillator watchdog power saving modes slow-down mode idle mode (can be combined with slow-down mode) software power-down mode with wake-up capability through int0 pin hardware power-down mode cpu running condition output pin ale can be switched off multiple separate vcc/vss pin pairs p-mqfp-80-1 package temperature ranges : sab-c515c-8r t a = 0 to 70 c saf-c515c-8r t a = -40 to 85 c sah-c515c-8r t a = -40 to 110 c the c515c is an enhanced, upgraded version of the sab 80c515a 8-bit microcontroller which additionally provides a full can interface, a spi compatible synchronous serial interface, extended power save provisions, additional on-chip ram, 64k of on-chip program memory, two new external interrupts and rfi related improvements. with a maximum external clock rate of 10 mhz it achieves a 600 ns instruction cycle time (1 m s at 6 mhz). the c515c is mounted in a p-mqfp-80 package. note: versions for extended temperature ranges ?40 c to 110 c (sah-c515c-lm and sah- c515c-8rm) are available on request. the ordering number of rom types (dxxxx extensions) is defined after program release (verification) of the customer. ordering information type ordering code package description (8-bit cmos microcontroller) sab-c515c-lm q67121-c1066 p-mqfp-80-1 for external memory (10 mhz) saf-c515c-lm Q67121-C1058 p-mqfp-80-1 for external memory (10 mhz) ext. temp. ?40 c to 85 c sab-c515c-8rm q67121-dxxxx p-mqfp-80-1 with mask programmable rom (10 mhz) saf-c515c-8rm q67121-dxxxx p-mqfp-80-1 with mask programmable rom (10 mhz) ext. temp. ?40 c to 85 c
semiconductor group 5 1997-07-01 c515c figure 2 logic symbol
c515c semiconductor group 6 1997-07-01 figure 3 c515c pin configuration (p-mqfp-80-1, top view)
semiconductor group 7 1997-07-01 c515c table 1 pin de?itions and functions symbol pin number i/o*) function p-mqfp-80 reset 1i reset a low level on this pin for the duration of two machine cycles while the oscillator is running resets the c515c. a small internal pullup resistor permits power-on reset using only a capacitor connected to vss . varef 3 reference voltage for the a/d converter vagnd 4 reference ground for the a/d converter p6.0-p6.7 12-5 i port 6 is an 8-bit unidirectional input port to the a/d converter. port pins can be used for digital input, if voltage levels simultaneously meet the specifications high/low input voltages and for the eight multiplexed analog inputs. *) i = input o = output
c515c semiconductor group 8 1997-07-01 p3.0-p3.7 15-22 15 16 17 18 19 20 21 22 i/o port 3 is an 8-bit quasi-bidirectional i/o port with internal pullup resistors. port 3 pins that have 1's written to them are pulled high by the internal pullup resistors, and in that state can be used as inputs. as inputs, port 3 pins being externally pulled low will source current ( i il , in the dc characteristics) because of the internal pullup resistors. port 3 also contains the interrupt, timer, serial port and external memory strobe pins that are used by various options. the output latch corresponding to a secondary function must be programmed to a one (1) for that function to operate. the secondary functions are assigned to the pins of port 3, as follows: p3.0 rxd receiver data input (asynch.) or data input/output (synch.) of serial interface p3.1 txd transmitter data output (asynch.) or clock output (synch.) of serial interface p3.2 int0 external interrupt 0 input / timer 0 gate control input p3.3 int1 external interrupt 1 input / timer 1 gate control input p3.4 t0 timer 0 counter input p3.5 t1 timer 1 counter input p3.6 wr wr control output; latches the data byte from port 0 into the external data memory p3.7 rd rd control output; enables the external data memory *) i = input o = output table 1 pin de?itions and functions (cont?) symbol pin number i/o*) function p-mqfp-80
semiconductor group 9 1997-07-01 c515c p7.0 / int7 23 i/o port 7 is an 1-bit quasi-bidirectional i/o port with internal pull-up resistor. when a 1 is written to p7.0 it is pulled high by an internal pull-up resistor, and in that state can be used as input. as input, p7.0 being externally pulled low will source current ( i il , in the dc characteristics) because of the internal pull-up resistor. if p7.0 is used as interrupt input, its output latch must be programmed to a one (1). the secondary function is assigned to the port 7 pin as follows: p7.0 int7 interrupt 7 input p1.0 - p1.7 31-24 31 30 29 28 27 26 25 24 i/o port 1 is an 8-bit quasi-bidirectional i/o port with internal pullup resistors. port 1 pins that have 1's written to them are pulled high by the internal pullup resistors, and in that state can be used as inputs. as inputs, port 1 pins being externally pulled low will source current ( i il , in the dc characteristics) because of the internal pullup resistors. the port is used for the low-order address byte during program verification. port 1 also contains the interrupt, timer, clock, capture and compare pins that are used by various options. the output latch corresponding to a secondary function must be programmed to a one (1) for that function to operate (except when used for the compare functions). the secondary functions are assigned to the port 1 pins as follows: p1.0 int3 cc0 interrupt 3 input / compare 0 output / capture 0 input p1.1 int4 cc1 interrupt 4 input / compare 1 output / capture 1 input p1.2 int5 cc2 interrupt 5 input / compare 2 output / capture 2 input p1.3 int6 cc3 interrupt 6 input / compare 3 output / capture 3 input p1.4 int2 interrupt 2 input p1.5 t2ex timer 2 external reload / trigger input p1.6 clkout system clock output p1.7 t2 counter 2 input *) i = input o = output table 1 pin de?itions and functions (cont?) symbol pin number i/o*) function p-mqfp-80
c515c semiconductor group 10 1997-07-01 xtal2 36 i xtal2 input to the inverting oscillator amplifier and input to the internal clock generator circuits. to drive the device from an external clock source, xtal2 should be driven, while xtal1 is left unconnected. minimum and maximum high and low times as well as rise/fall times specified in the ac characteristics must be observed. xtal1 37 o xtal1 output of the inverting oscillator amplifier. p2.0-p2.7 38-45 i/o port 2 is an 8-bit quasi-bidirectional i/o port with internal pullup resistors. port 2 pins that have 1's written to them are pulled high by the internal pullup resistors, and in that state can be used as inputs. as inputs, port 2 pins being externally pulled low will source current ( i il , in the dc characteristics) because of the internal pullup resistors. port 2 emits the high-order address byte during fetches from external program memory and during accesses to external data memory that use 16-bit addresses (movx @dptr). in this application it uses strong internal pullup resistors when issuing 1's. during accesses to external data memory that use 8-bit addresses (movx @ri), port 2 issues the contents of the p2 special function register. cpur 46 o cpu running condition this output pin is at low level when the cpu is running and program fetches or data accesses in the external data memory area are executed. in idle mode, hardware and software power down mode, and with an active reset signal cpur is set to high level. cpur can be typically used for switching external memory devices into power saving modes. *) i = input o = output table 1 pin de?itions and functions (cont?) symbol pin number i/o*) function p-mqfp-80
semiconductor group 11 1997-07-01 c515c psen 47 o the program store enable output is a control signal that enables the external program memory to the bus during external fetch operations. it is activated every six oscillator periods, except during external data memory accesses. the signal remains high during internal program execution. ale 48 o the address latch enable output is used for latching the address into external memory during normal operation. it is activated every six oscillator periods, except during an external data memory access. ale can be switched off when the program is executed internally. ea 49 i external access enable when held high, the c515c executes instructions always from the internal rom. when held low, the c515c fetches all instructions from external program memory. p0.0-p0.7 52-59 i/o port 0 is an 8-bit open-drain bidirectional i/o port. port 0 pins that have 1's written to them float, and in that state can be used as high-impedance inputs. port 0 is also the multiplexed low-order address and data bus during accesses to external program and data memory. in this application it uses strong internal pullup resistors when issuing 1's. port 0 also outputs the code bytes during program verification in the c515c. external pullup resistors are required during program verification. p5.0-p5.7 67-60 i/o port 5 is an 8-bit quasi-bidirectional i/o port with internal pullup resistors. port 5 pins that have 1's written to them are pulled high by the internal pullup resistors, and in that state can be used as inputs. as inputs, port 5 pins being externally pulled low will source current ( i il , in the dc characteristics) because of the internal pullup resistors. port 5 can also be switched into a bidirectional mode, in which cmos levels are provided. in this bidirectional mode, each port 5 pin can be programmed individually as input or output. *) i = input o = output table 1 pin de?itions and functions (cont?) symbol pin number i/o*) function p-mqfp-80
c515c semiconductor group 12 1997-07-01 hwpd 69 i har d ware p o wer do wn a low level on this pin for the duration of one machine cycle while the oscillator is running resets the c515c. a low level for a longer period will force the part to power down mode with the pins floating. p4.0-p4.7 72-74, 76-80 72 73 74 76 77 78 79 80 i/o port 4 is an 8-bit quasi-bidirectional i/o port with internal pull-up resistors. port 4 pins that have 1? written to them are pulled high by the internal pull-up resistors, and in that state can be used as inputs. as inputs, port 4 pins being externally pulled low will source current ( i il , in the dc characteristics) because of the internal pull-up resistors. p4 also contains the external a/d converter control pin, the ssc pins, the can controller input/output lines, and the external interrupt 8 input. the output latch corresponding to a secondary functionmust be programmed to a one (1) for that function to operate. the alternate functions are assigned to port 4 as follows: p4.0 adst external a/d converter start pin p4.1 sclk ssc master clock output / ssc slave clock input p4.2 sri ssc receive input p4.3 sto ssc transmit output p4.4 sls slave select input p4.5 int8 external interrupt 8 input p4.6 txdc transmitter output of the can controller p4.7 rxdc receiver input of the can controller pe /swd 75 i power saving mode enable / start watchdog timer a low level on this pin allows the software to enter the power down, idle and slow down mode. in case the low level is also seen during reset, the watchdog timer function is off on default. use of the software controlled power saving modes is blocked, when this pin is held on high level. a high level during reset performs an automatic start of the watchdog timer immediately after reset. when left unconnected this pin is pulled high by a weak internal pull-up resistor. *) i = input o = output table 1 pin de?itions and functions (cont?) symbol pin number i/o*) function p-mqfp-80
semiconductor group 13 1997-07-01 c515c vssclk 13 ground (0 v) for on-chip oscillator this pin is used for ground connection of the on-chip oscillator circuit. vccclk 14 supply voltage for on-chip oscillator this pin is used for power supply of the on-chip oscillator circuit. vcce1 vcce2 32 68 supply voltage for i/o ports these pins are used for power supply of the i/o ports during normal, idle, and power-down mode. vsse1 vsse2 35 70 ground (0 v) for i/o ports these pins are used for ground connections of the i/o ports during normal, idle, and power-down mode. vcc1 33 supply voltage for internal logic this pins is used for the power supply of the internal logic circuits during normal, idle, and power down mode. vss1 34 ground (0 v) for internal logic this pin is used for the ground connection of the internal logic circuits during normal, idle, and power down mode. vccext 50 supply voltage for external access pins this pin is used for power supply of the i/o ports and control signals which are used during external accesses (for port 0, port 2, ale, psen , p3.6/wr , and p3.7/rd ). vssext 51 ground (0 v) for external access pins this pin is used for the ground connection of the i/o ports and control signals which are used during external accesses (for port 0, port 2, ale, psen , p3.6/wr , and p3.7/rd ). n.c. 2, 71 not connected these pins should not be connected. *) i = input o = output table 1 pin de?itions and functions (cont?) symbol pin number i/o*) function p-mqfp-80
c515c semiconductor group 14 1997-07-01 figure 4 block diagram of the c515c
semiconductor group 15 1997-07-01 c515c cpu the c515c is efficient both as a controller and as an arithmetic processor. it has extensive facilities for binary and bcd arithmetic and excels in its bit-handling capabilities. efficient use of program memory results from an instruction set consisting of 44 % one-byte, 41 % two-byte, and 15% three- byte instructions. with a 6 mhz crystal, 58% of the instructions are executed in 1 m s ( 10 mhz : 600 ns). special function register psw (address d0 h ) reset value : 00 h bit function cy carry flag used by arithmetic instruction. ac auxiliary carry flag used by instructions which execute bcd operations. f0 general purpose flag rs1 rs0 register bank select control bits these bits are used to select one of the four register banks. ov overflow flag used by arithmetic instruction. f1 general purpose flag p parity flag set/cleared by hardware after each instruction to indicate an odd/even number of "one" bits in the accumulator, i.e. even parity. cy ac f0 rs1 rs0 ov f1 p d0 h psw d7 h d6 h d5 h d4 h d3 h d2 h d1 h d0 h bit no. msb lsb rs1 rs0 function 0 0 bank 0 selected, data address 00 h -07 h 0 1 bank 1 selected, data address 08 h -0f h 1 0 bank 2 selected, data address 10 h -17 h 1 1 bank 3 selected, data address 18 h -1f h
c515c semiconductor group 16 1997-07-01 memory organization the c515c cpu manipulates data and operands in the following five address spaces: up to 64 kbyte of internal/external program memory up to 64 kbyte of external data memory 256 bytes of internal data memory 256 bytes can controller registers / data memory 2k bytes of internal xram data memory a 128 byte special function register area figure 5 illustrates the memory address spaces of the c515c. figure 5 c515c memory map
semiconductor group 17 1997-07-01 c515c control of xram/can controller access the xram in the c515c is a memory area that is logically located at the upper end of the external memory space, but is integrated on the chip. because the xram and the can controller is used in the same way as external data memory the same instruction types (movx) must be used for accessing the xram. two bits in sfr syscon, xmap0 and xmap1, control the accesses to the xram and the can controller. special function register syscon (address b1 h ) reset value : x010xx01 b bit xmap0 is hardware protected. if it is reset once (xram/can controller access enabled) it cannot be set by software. only a reset operation will set the xmap0 bit again. the xram/can controller can be accessed by read/write instructions (movx a,dptr, movx @dptr,a), which use the 16-bit dptr for indirect addressing. for accessing the xram or can controller, the effective address stored in dptr must be in the range of f700 h to ffff h . the xram can be also accessed by read/write instructions (movx a,@ri, movx @ri,a), which use only an 8-bit address (indirect addressing with registers r0 or r1). therefore, a special page register xpage which provides the upper address information (a8-a15) during 8-bit xram accesses. the behaviour of port 0 and p2 during a movx access depends on the control bits xmap0 and xmap1 in register syscon and on the state of pin ea . table 2 lists the various operating conditions. bit function xmap1 xram/can controller visible access control control bit for rd /wr signals during xram/can controller accesses. if addresses are outside the xram/can controller address range or if xram is disabled, this bit has no effect. xmap1 = 0 : the signals rd and wr are not activated during accesses to the xram/can controller xmap1 = 1 : ports 0, 2 and the signals rd and wr are activated during accesses to xram/can controller. in this mode, address and data information during xram/can controller accesses are visible externally. xmap0 global xram/can controller access enable/disable control xmap0 = 0 : the access to xram and can controller is enabled. xmap0 = 1 : the access to xram and can controller is disabled (default after reset). all movx accesses are performed via the external bus. further, this bit is hardware protected. 76543210 eale rmap b1 h syscon bit no. msb lsb xmap1 pmod xmap0 the function of the shaded bits is not described in this section.
c515c semiconductor group 18 1997-07-01 table 2 behaviour of p0/p2 and rd /wr during movx accesses ea = 0 ea = 1 xmap1, xmap0 xmap1, xmap0 00 10 x1 00 10 x1 movx @dptr dptr < xram/can address range a)p0/p2 ? bus b)rd /wr active c)ext.memory is used a)p0/p2 ? bus b)rd /wr active c)ext.memory is used a)p0/p2 ? bus b)rd /wr active c)ext.memory is used a)p0/p2 ? bus b)rd /wr active c)ext.memory is used a)p0/p2 ? bus b)rd /wr active c)ext.memory is used a)p0/p2 ? bus b)rd /wr active c)ext.memory is used dptr 3 xramcan address range a)p0/p2 ? bus (rd /wr -data) b)rd /wr inactive c)xram is used a)p0/p2 ? bus (rd /wr -data) b)rd /wr active c)xram is used a)p0/p2 ? bus b)rd /wr active c) ext.memory is used a)p0/p2 ? i/0 b)rd /wr inactive c)xram is used a)p0/p2 ? bus (rd /wr -data) b)rd /wr active c)xram is used a)p0/p2 ? bus b)rd /wr active c) ext.memory is used movx @ ri xpage < xramcan addr.page range a)p0 ? bus p2 ? i /o b)rd /wr active c)ext.memory is used a)p0 ? bus p2 ? i /o b)rd /wr active c)ext.memory is used a)p0 ? bus p2 ? i /o b)rd /wr active c)ext.memory is used a)p0 ? bus p2 ? i /o b)rd /wr active c)ext.memory is used a)p0 ? bus p2 ? i /o b)rd /wr active c)ext.memory is used a)p0 ? bus p2 ? i /o b)rd /wr active c)ext.memory is used xpage 3 xramcan addr.page range a)p0 ? bus (rd /wr -data) p2 ? i /o b)rd /wr inactive c)xram is used a)p0 ? bus (rd /wr -data only) p2 ? i /o b)rd /wr active c)xram is used a)p0 ? bus p2 ? i /o b)rd /wr active c)ext.memory is used a)p2 ? i /o p0/p2 ? i /o b)rd /wr inactive c)xram is used a)p0 ? bus (rd /wr -data) p2 ? i /o b)rd /wr active c)xram is used a)p0 ? bus p2 ? i /o b)rd /wr active c)ext.memory is used modes compatible to 8051/c501 family
semiconductor group 19 1997-07-01 c515c reset and system clock the reset input is an active low input at pin reset . since the reset is synchronized internally, the reset pin must be held low for at least two machine cycles (12 oscillator periods) while the oscillator is running. a pullup resistor is internally connected to v cc to allow a power-up reset with an external capacitor only. an automatic reset can be obtained when v cc is applied by connecting the reset pin to v ss via a capacitor. figure 6 shows the possible reset circuitries. figure 6 reset circuitries figure 7 shows the recommended oscillator circiutries for crystal and external clock operation. figure 7 recommended oscillator circuitries
c515c semiconductor group 20 1997-07-01 multiple datapointers as a functional enhancement to the standard 8051 architecture, the c515c contains eight 16-bit datapointers instead of only one datapointer. the instruction set uses just one of these datapointers at a time. the selection of the actual datapointer is done in the special function register dpsel. figure 8 illustrates the datapointer addressing mechanism. figure 8 external data memory addressing using multiple datapointers dph(83 ) dpl(82 ) dptr0 dptr7 .0 .1 .2 - - - - - dpsel(92 ) dpsel selected data- pointer .2 .1 .0 dptr 0 0 0 0 0 0 1 dptr 1 0 1 0 dptr 2 0 1 1 dptr 3 1 0 0 dptr 4 1 0 1 dptr 5 1 1 0 dptr 6 1 1 1 dptr 7 mcd00779 external data memory h hh
semiconductor group 21 1997-07-01 c515c enhanced hooks emulation concept the enhanced hooks emulation concept of the c500 microcontroller family is a new, innovative way to control the execution of c500 mcus and to gain extensive information on the internal operation of the controllers. emulation of on-chip rom based programs is possible, too. each production chip has built-in logic for the supprt of the enhanced hooks emulation concept. therefore, no costly bond-out chips are necessary for emulation. this also ensure that emulation and production chips are identical. the enhanced hooks technology tm , which requires embedded logic in the c500 allows the c500 together with an eh-ic to function similar to a bond-out chip. this simplifies the design and reduces costs of an ice-system. ice-systems using an eh-ic and a compatible c500 are able to emulate all operating modes of the different versions of the c500 microcontrollers. this includes emulation of rom, rom with code rollover and romless modes of operation. it is also able to operate in single step mode and to read the sfrs after a break. figure 9 basic c500 mcu enhanced hooks concept configuration port 0, port 2 and some of the control lines of the c500 based mcu are used by enhanced hooks emulation concept to control the operation of the device during emulation and to transfer informations about the programm execution and data transfer between the external emulation hardware (ice-system) and the c500 mcu. mcs03280 syscon pcon tcon reset ea psen ale 0 2 port port i/o ports optional port 3 port 1 c500 mcu interface circuit enhanced hooks rport 0 rport 2 rtcon rpcon rsyscon tea tale tpsen eh-ic target system interface ice-system interface to emulation hardware
c515c semiconductor group 22 1997-07-01 special function registers the registers, except the program counter and the four general purpose register banks, reside in the special function register area. the special function register area consists of two portions : the standard special function register area and the mapped special function register area. two special function registers of the c515c (pcon1 and dir5) are located in the mapped special function register area. for accessing the mapped special function register area, bit rmap in special function register syscon must be set. all other special function registers are located in the standard special function register area which is accessed when rmap is cleared (??. as long as bit rmap is set, mapped special function register area can be accessed. this bit is not cleared by hardware automatically. thus, when non-mapped/mapped registers are to be accessed, the bit rmap must be cleared/set by software, respectively each. special function register syscon (address b1 h ) reset value : 1010xx01 b the 59 special function registers (sfrs) in the standard and mapped sfr area include pointers and registers that provide an interface between the cpu and the other on-chip peripherals. the sfrs of the c515c are listed in table 3 and table 4 . in table 3 they are organized in groups which refer to the functional blocks of the c515c. the can-sfrs are also included in table 3 . table 4 illustrates the contents of the sfrs in numeric order of their addresses. table 5 list the can-sfrs in numeric order of their addresses. bit function rmap special function register map bit rmap = 0 : the access to the non-mapped (standard) special function register area is enabled (reset value). rmap = 1 : the access to the mapped special function register area is enabled. 76543210 1 rmap b1 h syscon bit no. msb lsb xmap1 clkp pmod xmap0
semiconductor group 23 1997-07-01 c515c table 3 special function registers - functional blocks block symbol name address contents after reset cpu acc b dph dpl dpsel psw sp syscon 2) accumulator b-register data pointer, high byte data pointer, low byte data pointer select register program status word register stack pointer system control register e0 h 1) f0 h 1) 83 h 82 h 92 h d0 h 1) 81 h b1 h 00 h 00 h 00 h 00 h xxxxx000 b 3) 00 h 07 h x010xx01 b 3) a/d- converter adcon0 2) adcon1 addath addatl a/d converter control register 0 a/d converter control register 1 a/d converter data register high byte a/d converter data register low byte d8 h 1) dc h d9 h da h 4) 00 h 0xxxx000 b 3) 00 h 00xxxxxx b 3) interrupt system ien0 2) ien1 2) ien2 ip0 2) ip1 tcon 2) t2con 2) scon 2) ircon interrupt enable register 0 interrupt enable register 1 interrupt enable register 2 interrupt priority register 0 interrupt priority register 1 timer control register timer 2 control register serial channel control register interrupt request control register a8 h 1) b8 h 1) 9a h a9 h b9 h 88 h 1) c8 h 1) 98 h 1) c0 h 1) 00 h 00 h xx00x00x b 3) 00 h 0x000000 b 3) 00 h 00 h 00 h 00 h xram xpage syscon 2) page address register for extended on-chip xram and can controller system control register 91 h b1 h 00 h x010xx01 b 3) ports p0 p1 p2 p3 p4 p5 dir5 p6 p7 syscon 2) port 0 port 1 port 2 port 3 port 4 port 5 port 5 direction register port 6, analog/digital input port 7 system control register 80 h 1) 90 h 1) a0 h 1) b0 h 1 e8 h 1) f8 h 1) f8 h 1) 4) db h fa h b1 h ff h ff h ff h ff h ff h ff h ff h xxxxxxx1 b 3) x010xx01 b 3) 1) bit-addressable special function registers 2) this special function register is listed repeatedly since some bits of it also belong to other functional blocks. 3) ??means that the value is undefined and the location is reserved 4) this sfr is a mapped sfr. for accessing this sfr, bit pdir in sfr ip1 must be set.
c515c semiconductor group 24 1997-07-01 serial channel adcon0 2) pcon 2) sbuf scon srell srelh a/d converter control register 0 power control register serial channel buffer register serial channel control register serial channel reload register, low byte serial channel reload register, high byte d8 h 1 87 h 99 h 98 h 1) aa h ba h 00 h 00 h xx h 3) 00 h d9 h xxxxxx11 b 3) can controller cr sr ir btr0 btr1 gms0 gms1 ugml0 ugml1 lgml0 lgml1 umlm0 umlm1 lmlm0 lmlm1 mcr0 mcr1 uar0 uar1 lar0 lar1 mcfg db0 db1 db2 db3 db4 db5 db6 db7 control register status register interrupt register bit timing register low bit timing register high global mask short register low global mask short register high upper global mask long register low upper global mask long register high lower global mask long register low lower global mask long register high upper mask of last message register low upper mask of last message register high lower mask of last message register low lower mask of last message register high message object registers : message control register low message control register high upper arbitration register low upper arbitration register high lower arbitration register low lower arbitration register high message configuration register message data byte 0 message data byte 1 message data byte 2 message data byte 3 message data byte 4 message data byte 5 message data byte 6 message data byte 7 f700 h f701 h f702 h f704 h f705 h f706 h f707 h f708 h f709 h f70a h f70b h f70c h f70d h f70e h f70f h f7n0 h 5) f7n1 h 5) f7n2 h 5) f7n3 h 5) f7n4 h 5) f7n5 h 5) f7n6 h 5) f7n7 h 5) f7n8 h 5) f7n9 h 5) f7na h 5) f7nb h 5) f7nc h 5) f7nd h 5) f7ne h 5) 01 h xx h 3) xx h 3) uu h 3) 0uuuuuuu b 3) uu h 3) uuu11111 b 3) uu h 3) uu h 3) uu h 3) uuuuu000 b 3) uu h 3) uu h 3) uu h 3) uuuuu000 b 3) uu h 3) uu h 3) uu h 3) uu h 3) uu h 3) uuuuu000 b 3) uuuuuu00 b 3) xx h 3) xx h 3) xx h 3) xx h 3) xx h 3) xx h 3) xx h 3) xx h 3) 1) bit-addressable special function registers 2) this special function register is listed repeatedly since some bits of it also belong to other functional blocks. 3) ??means that the value is undefined and the location is reserved. ??means that the value is unchanged by a reset operation. ??values are undefined (as ?? after a power-on reset operation 4) sfr is located in the mapped sfr area. for accessing this sfr, bit rmap in sfr syscon must be set. 5) the notation ??in the message object address definition defines the number of the related message object. table 3 special function registers - functional blocks (cont?) block symbol name address contents after reset
semiconductor group 25 1997-07-01 c515c ssc interface ssccon stb srb scf scien sscmod ssc control register ssc transmit buffer ssc receive register ssc flag register ssc interrupt enable register ssc mode test register 93 h 1 ) 94 h 95 h ab h 1 ) ac h 96 h 07 h xx h 3 ) xx h 3 ) xxxxxx00 b 3) xxxxxx00 b 3) 00 h timer 0/ timer 1 tcon th0 th1 tl0 tl1 tmod timer 0/1 control register timer 0, high byte timer 1, high byte timer 0, low byte timer 1, low byte timer mode register 88 h 1) 8c h 8d h 8a h 8b h 89 h 00 h 00 h 00 h 00 h 00 h 00 h compare/ capture unit / timer 2 ccen cch1 cch2 cch3 ccl1 ccl2 ccl3 crch crcl th2 tl2 t2con comp./capture enable reg. comp./capture reg. 1, high byte comp./capture reg. 2, high byte comp./capture reg. 3, high byte comp./capture reg. 1, low byte comp./capture reg. 2, low byte comp./capture reg. 3, low byte com./rel./capt. reg. high byte com./rel./capt. reg. low byte timer 2, high byte timer 2, low byte timer 2 control register c1 h c3 h c5 h c7 h c2 h c4 h c6 h cb h ca h cd h cc h c8 h 1) 00 h 00 h 00 h 00 h 00 h 00 h 00 h 00 h 00 h 00 h 00 h 00 h watchdog wdtrel ien0 2) ien1 2) ip0 2) watchdog timer reload register interrupt enable register 0 interrupt enable register 1 interrupt priority register 0 86 h a8 h 1) b8 h 1) a9 h 00 h 00 h 00 h 00 h power save modes pcon 2) pcon1 power control register power control register 1 87 h 88 h 4) 00 h 0xxxxxxx b 3) 1) bit-addressable special function registers 2) this special function register is listed repeatedly since some bits of it also belong to other functional blocks. 3) ??means that the value is undefined and the location is reserved 4) sfr is located in the mapped sfr area. for accessing this sfr, bit rmap in sfr syscon must be set. table 3 special function registers - functional blocks (cont?) block symbol name address contents after reset
c515c semiconductor group 26 1997-07-01 table 4 contents of the sfrs, sfrs in numeric order of their addresses addr register content after reset 1) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 80 h 2) p0 ff h .7 .6 .5 .4 .3 .2 .1 .0 81 h sp 07 h .7 .6 .5 .4 .3 .2 .1 .0 82 h dpl 00 h .7 .6 .5 .4 .3 .2 .1 .0 83 h dph 00 h .7 .6 .5 .4 .3 .2 .1 .0 86 h wdtrel 00 h wdt psel .6 .5 .4 .3 .2 .1 .0 87 h pcon 00 h smod pds idls sd gf1 gf0 pde idle 88 h 2) tcon 00 h tf1 tr1 tf0 tr0 ie1 it1 ie0 it0 88 h 3) pcon1 0xxx- xxxx b ewpd 89 h tmod 00 h gate c/t m1 m0 gate c/t m1 m0 8a h tl0 00 h .7 .6 .5 .4 .3 .2 .1 .0 8b h tl1 00 h .7 .6 .5 .4 .3 .2 .1 .0 8c h th0 00 h .7 .6 .5 .4 .3 .2 .1 .0 8d h th1 00 h .7 .6 .5 .4 .3 .2 .1 .0 90 h 2) p1 ff h t2 clk- out t2ex int2 int6 int5 int4 int3 91 h xpage 00 h .7 .6 .5 .4 .3 .2 .1 .0 92 h dpsel xxxx- x000 b ?2.1.0 93 h ssccon 07 h scen ten mstr cpol cpha brs2 brs1 brs0 94 h stb xx h .7 .6 .5 .4 .3 .2 .1 .0 95 h srb xx h .7 .6 .5 .4 .3 .2 .1 .0 96 h sscmod 00 h loopb trio 00000 lsbsm 98 h 2) scon 00 h sm0 sm1 sm2 ren tb8 rb8 ti ri 99 h sbuf xx h .7 .6 .5 .4 .3 .2 .1 .0 9a h ien2 x00x- x00x b ex8 ex7 essc ecan a0 h 2) p2 ff h .7 .6 .5 .4 .3 .2 .1 .0 a8 h 2) ien0 00 h ea wdt et2 es et1 ex1 et0 ex0 1) x means that the value is undefined and the location is reserved 2) bit-addressable special function registers 3) sfr is located in the mapped sfr area. for accessing this sfr, bit rmap in sfr syscon must be set.
semiconductor group 27 1997-07-01 c515c a9 h ip0 00 h owds wdts .5 .4 .3 .2 .1 .0 aa h srell d9 h .7 .6 .5 .4 .3 .2 .1 .0 ab h scf xxxx- xx00 b wcol tc ac h scien xxxx- xx00 b wcen tcen b0 h 2) p3 ff h rd wr t1 t0 int1 int0 txd rxd b1 h syscon x010- xx01 b pmod eale rmap xmap1 xmap0 b8 h 2) ien1 00 h exen2 swdt ex6 ex5 ex4 ex3 ex2 eadc b9 h ip1 0x00- 0000 b pdir .5 .4 .3 .2 .1 .0 ba h srelh xxxx- xx11 b .1.0 c0 h 2) ircon 00 h exf2 tf2 iex6 iex5 iex4 iex3 iex2 iadc c1 h ccen 00 h coca h3 cocal 3 coca h2 cocal 2 coca h1 cocal 1 coca h0 cocal 0 c2 h ccl1 00 h .7 .6 .5 .4 .3 .2 .1 .0 c3 h cch1 00 h .7 .6 .5 .4 .3 .2 .1 .0 c4 h ccl2 00 h .7 .6 .5 .4 .3 .2 .1 .0 c5 h cch2 00 h .7 .6 .5 .4 .3 .2 .1 .0 c6 h ccl3 00 h .7 .6 .5 .4 .3 .2 .1 .0 c7 h cch3 00 h .7 .6 .5 .4 .3 .2 .1 .0 c8 h 2) t2con 00 h t2ps i3fr i2fr t2r1 t2r0 t2cm t2i1 t2i0 ca h crcl 00 h .7 .6 .5 .4 .3 .2 .1 .0 cb h crch 00 h .7 .6 .5 .4 .3 .2 .1 .0 cc h tl2 00 h .7 .6 .5 .4 .3 .2 .1 .0 cd h th2 00 h .7 .6 .5 .4 .3 .2 .1 .0 1) x means that the value is undefined and the location is reserved 2) bit-addressable special function registers table 4 contents of the sfrs, sfrs in numeric order of their addresses (cont?) addr register content after reset 1) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
c515c semiconductor group 28 1997-07-01 d0 h 2) psw 00 h cy ac f0 rs1 rs0 ov f1 p d8 h 2) adcon0 00 h bd clk adex bsy adm mx2 mx1 mx0 d9 h addath 00 h .9 .8 .7 .6 .5 .4 .3 .2 da h addatl 00xx- xxxx b .1.0 db h p6 .7.6.5.4.3.2.1.0 dc h adcon1 0xxx- x000 b adcl ?mx2mx1mx0 e0 h 2) acc 00 h .7 .6 .5 .4 .3 .2 .1 .0 e8 h 2) p4 00 h rxdc txdc int8 sls sto sri sclk adst f0 h 2) b 00 h .7 .6 .5 .4 .3 .2 .1 .0 f8 h 2) p5 ff h .7 .6 .5 .4 .3 .2 .1 .0 f8 h 2) dir5 3) ff h .7 .6 .5 .4 .3 .2 .1 .0 fa h p7 xxxx- xxx1 b ?0 1) x means that the value is undefined and the location is reserved 2) bit-addressable special function registers 3) this sfr is a mapped sfr. for accessing this sfr, bit pdir in sfr ip1 must be set. table 4 contents of the sfrs, sfrs in numeric order of their addresses (cont?) addr register content after reset 1) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
semiconductor group 29 1997-07-01 c515c table 5 contents of the can registers in numeric order of their addresses addr. n=1-f h 1) register content after reset 2) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 f700 h cr 01 h test cce 0 0 eie sie ie init f701 h sr xx h boff ewrn rxok txok lec2 lec1 lec0 f702 h ir xx h intid f704 h btr0 uu h sjw brp f705 h btr1 0uuu. uuuu b 0 tseg2 tseg1 f706 h gms0 uu h id28-21 f707 h gms1 uuu1. 1111 b id20-18 11111 f708 h ugml0 uu h id28-21 f709 h ugml1 uu h id20-13 f70a h lgml0 uu h id12-5 f70b h lgml1 uuuu. u000 b id4-0 0 0 0 f70c h umlm0 uu h id28-21 f70d h umlm1 uu h id20-18 id17-13 f70e h lmlm0 uu h id12-5 f70f h lmlm1 uuuu. u000 b id4-0 0 0 0 f7n0 h mcr0 uu h msgval txie rxie intpnd f7n1 h mcr1 uu h rmtpnd txrq msglst cpuupd newdat f7n2 h uar0 uu h id28-21 f7n3 h uar1 uu h id20-18 id17-13 f7n4 h lar0 uu h id12-5 f7n5 h lar1 uuuu. u000 b id4-0 0 0 0 f7n6 h mcfg uuuu. uu00 b dlc dir xtd 0 0 1) the notation ??in the address definition defines the number of the related message object. 2) ??means that the value is undefined and the location is reserved. ??means that the value is unchanged by a reset operation. ??values are undefined (as ?? after a power-on reset operation
c515c semiconductor group 30 1997-07-01 f7n7 h db0 xx h .7 .6 .5 .4 .3 .2 .1 .0 f7n8 h db1 xx h .7 .6 .5 .4 .3 .2 .1 .0 f7n9 h db2 xx h .7 .6 .5 .4 .3 .2 .1 .0 f7na h db3 xx h .7 .6 .5 .4 .3 .2 .1 .0 f7nb h db4 xx h .7 .6 .5 .4 .3 .2 .1 .0 f7nc h db5 xx h .7 .6 .5 .4 .3 .2 .1 .0 f7nd h db6 xx h .7 .6 .5 .4 .3 .2 .1 .0 f7ne h db7 xx h .7 .6 .5 .4 .3 .2 .1 .0 1) the notation ??in the address definition defines the number of the related message object. 2) ??means that the value is undefined and the location is reserved. ??means that the value is unchanged by a reset operation. ??values are undefined (as ?? after a power-on reset operation table 5 contents of the can registers in numeric order of their addresses (cont?) addr. n=1-f h 1) register content after reset 2) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0
semiconductor group 31 1997-07-01 c515c digital i/o ports the c515c allows for digital i/o on 49 lines grouped into 6 bidirectional 8-bit ports and one 1-bit port. each port bit consists of a latch, an output driver and an input buffer. read and write accesses to the i/o ports p0 through p7 are performed via their corresponding special function registers p0 to p7. the port structure of port 5 of the c515c is especially designed to operate either as a quasi- bidirectional port structure, compatible to the standard 8051-family, or as a genuine bidirectional port structure. this port operating mode can be selected by software (setting or clearing the bit pmod in the sfr syscon). the output drivers of port 0 and 2 and the input buffers of port 0 are also used for accessing external memory. in this application, port 0 outputs the low byte of the external memory address, time- multiplexed with the byte being written or read. port 2 outputs the high byte of the external memory address when the address is 16 bits wide. otherwise, the port 2 pins continue emitting the p2 sfr contents. analog input ports ports 6 is available as input port only and provides two functions. when used as digital inputs, the corresponding sfr p6 contains the digital value applied to the port 6 lines. when used for analog inputs the desired analog channel is selected by a three-bit field in sfr adcon0 or sfr adcon1. of course, it makes no sense to output a value to these input-only ports by writing to the sfr p6. this will have no effect. lf a digital value is to be read, the voltage levels are to be held within the input voltage specifications ( v il / v ih ). since p6 is not bit-addressable, all input lines of p6 are read at the same time by byte instructions. nevertheless, it is possible to use port 6 simultaneously for analog and digital input. however, care must be taken that all bits of p6 that have an undetermined value caused by their analog function are masked.
c515c semiconductor group 32 1997-07-01 port structure selection of port 5 after a reset operation of the c515c, the quasi-bidirectional 8051-compatible port structure is selected. for selection of the bidirectional (cmos) port 5 structure the bit pmod of sfr syscon must be set. because each port 5 pin can be programmed as an input or an output, additionally, after the selection of the bidirectional mode the direction register dir5 of port 5 must be written. this direction register is mapped to the port 5 register. this means, the port register address is equal to its direction register address. figure 10 illustrates the port- and direction register configuration. figure 10 port register, direction register
semiconductor group 33 1997-07-01 c515c timer / counter 0 and 1 timer/counter 0 and 1 can be used in four operating modes as listed in table 6 : in the ?imer?function (c/t = ?? the register is incremented every machine cycle. therefore the count rate is f osc /6. in the ?ounter?function the register is incremented in response to a 1-to-0 transition at its corresponding external input pin (p3.4/t0, p3.5/t1). since it takes two machine cycles to detect a falling edge the max. count rate is f osc /12. external inputs int0 and int1 (p3.2, p3.3) can be programmed to function as a gate to facilitate pulse width measurements. figure 11 illustrates the input clock logic figure 11 timer/counter 0 and 1 input clock logic table 6 timer/counter 0 and 1 operating modes mode description tmod timer/counter input clock m1 m0 internal external (max) 0 8-bit timer/counter with a divide-by-32 prescaler 00 f osc /6 x 32 f osc /12 x 32 1 16-bit timer/counter 0 1 f osc /6 f osc /12 2 8-bit timer/counter with 8-bit autoreload 10 3 timer/counter 0 used as one 8-bit timer/counter and one 8-bit timer / timer 1 stops 11 mcs03117 1 & osc c/t = 0 c/t = 1 control =1 6 tr1 p3.5/t1 (tmod) p3.2/int0 f timer 0/1 input clock osc /6 p3.4/t0 tr0 gate p3.3/int1 _ <
c515c semiconductor group 34 1997-07-01 timer/counter 2 with compare/capture/reload the timer 2 of the c515c provides additional compare/capture/reload features. which allow the selection of the following operating modes: compare : up to 4 pwm signals with 16-bit/600 ns resolution capture : up to 4 high speed capture inputs with 600 ns resolution reload : modulation of timer 2 cycle time the block diagram in figure 12 shows the general configuration of timer 2 with the additional compare/capture/reload registers. the i/o pins which can used for timer 2 control are located as multifunctional port functions at port 1. figure 12 timer 2 block diagram
semiconductor group 35 1997-07-01 c515c timer 2 operating modes the timer 2, which is a 16-bit-wide register, can operate as timer, event counter, or gated timer. a roll-over of the count value in tl2/th2 from all 1? to all 0? sets the timer overflow flag tf2 in sfr ircon, which can generate an interrupt. the bits in register t2con are used to control the timer 2 operation. timer mode : in timer function, the count rate is derived from the oscillator frequency. a prescaler offers the possibility of selecting a count rate of 1/6 or 1/12 of the oscillator frequency. gated timer mode : in gated timer function, the external input pin t2 (p1.7) functions as a gate to the input of timer 2. lf t2 is high, the internal clock input is gated to the timer. t2 = 0 stops the counting procedure. this facilitates pulse width measurements. the external gate signal is sampled once every machine cycle. event counter mode : in the event counter function. the timer 2 is incremented in response to a 1- to-0 transition at its corresponding external input pin t2 (p1.7). in this function, the external input is sampled every machine cycle. since it takes two machine cycles (12 oscillator periods) to recognize a 1-to-0 transition, the maximum count rate is 1/6 of the oscillator frequency. there are no restrictions on the duty cycle of the external input signal, but to ensure that a given level is sampled at least once before it changes, it must be held for at least one full machine cycle. reload of timer 2 : two reload modes are selectable: in mode 0, when timer 2 rolls over from all 1? to all 0?, it not only sets tf2 but also causes the timer 2 registers to be loaded with the 16-bit value in the crc register, which is preset by software. in mode 1, a 16-bit reload from the crc register is caused by a negative transition at the correspon- ding input pin p1.5/t2ex. this transition will also set flag exf2 if bit exen2 in sfr ien1 has been set.
c515c semiconductor group 36 1997-07-01 timer 2 compare modes the compare function of a timer/register combination operates as follows : the 16-bit value stored in a compare or compare/capture register is compared with the contents of the timer register; if the count value in the timer register matches the stored value, an appropriate output signal is generated at a corresponding port pin and an interrupt can be generated. compare mode 0 in compare mode 0, upon matching the timer and compare register contents, the output signal changes from low to high. lt goes back to a low level on timer overflow. as long as compare mode 0 is enabled, the appropriate output pin is controlled by the timer circuit only and writing to the port will have no effect. figure 13 shows a functional diagram of a port circuit when used in compare mode 0. the port latch is directly controlled by the timer overflow and compare match signals. the input line from the internal bus and the write-to-latch line of the port latch are disconnected when compare mode 0 is enabled. figure 13 port latch in compare mode 0 mcs02661 latch port q q clk d port pin read pin cc v read latch port circuit internal bus latch write to compare reg. compare register circuit comparator timer register timer circuit compare match s r overflow timer 16 bit bit 16
semiconductor group 37 1997-07-01 c515c compare mode 1 if compare mode 1 is enabled and the software writes to the appropriate output latch at the port, the new value will not appear at the output pin until the next compare match occurs. thus, it can be choosen whether the output signal has to make a new transition (1-to-0 or 0-to-1, depending on the actual pin-level) or should keep its old value at the time when the timer value matches the stored compare value. in compare mode 1 (see figure 14 ) the port circuit consists of two separate latches. one latch (which acts as a "shadow latch") can be written under software control, but its value will only be transferred to the port latch (and thus to the port pin) when a compare match occurs. figure 14 compare function in compare mode 1 mcs02662 latch port q q clk d read pin cc v d clk q shadow latch read latch port circuit internal bus latch write to compare reg. compare register circuit comparator timer register timer circuit compare match pin port 16 bit 16 bit
c515c semiconductor group 38 1997-07-01 serial interface (usart) the serial port is full duplex and can operate in four modes (one synchronous mode, three asynchronous modes) as illustrated in table 7 . for clarification some terms regarding the difference between "baud rate clock" and "baud rate" should be mentioned. in the asynchronous modes the serial interfaces require a clock rate which is 16 times the baud rate for internal synchronization. therefore, the baud rate generators/timers have to provide a "baud rate clock" (output signal in figure 15 to the serial interface which - there divided by 16 - results in the actual "baud rate". further, the abrevation f osc refers to the oscillator frequency (crystal or external clock operation). the variable baud rates for modes 1 and 3 of the serial interface can be derived either from timer 1 or from a decdicated baud rate generator (see figure 15 ). table 7 usart operating modes mode scon description sm0 sm1 0 0 0 shift register mode, fixed baud rate serial data enters and exits through r d; t d outputs the shift clock; 8-bit are transmitted/received (lsb first) 1 0 1 8-bit uart, variable baud rate 10 bits are transmitted (through t d) or received (at r d) 2 1 0 9-bit uart, fixed baud rate 11 bits are transmitted (through t d) or received (at r d) 3 1 1 9-bit uart, variable baud rate like mode 2
semiconductor group 39 1997-07-01 c515c figure 15 block diagram of baud rate generation for the serial interface table 8 below lists the values/formulas for the baud rate calculation of the serial interface with its dependencies of the control bits bd and smod. table 8 serial interface - baud rate dependencies serial interface operating modes active control bits baud rate calculation bd smod mode 0 (shift register) f osc / 6 mode 1 (8-bit uart) mode 3 (9-bit uart) 0 x controlled by timer 1 overflow : (2 smod timer 1 overflow rate) / 32 1 x controlled by baud rate generator (2 smod f osc ) / (32 baud rate generator overflow rate) mode 2 (9-bit uart) 0 1 f osc / 32 f osc / 16
c515c semiconductor group 40 1997-07-01 ssc interface the c515c microcontroller provides a synchronous serial channel unit, the ssc. this interface is compatible to the popular spi serial bus interface. figure 16 shows the block diagram of the ssc. the central element of the ssc is an 8-bit shift register. the input and the output of this shift register are each connected via a control logic to the pin p4.2 / sri (ssc receiver in) and p4.3 / sto (ssc transmitter out). this shift register can be written to (sfr stb) and can be read through the receive buffer register srb. figure 16 ssc block diagram the ssc has implemented a clock control circuit, which can generate the clock via a baud rate generator in the master mode, or receive the transfer clock in the slave mode. the clock signal is fully programmable for clock polarity and phase. the pin used for the clock signal is p4.1/ sclk. when operating in slave mode, a slave select input is provided which enables the ssc interface and also will control the transmitter output. the pin used for this is p4.4 / sls . the ssc control block is responsible for controlling the different modes and operation of the ssc, checking the status, and generating the respective status and interrupt signals.
semiconductor group 41 1997-07-01 c515c can controller the on-chip can controller is the functional heart which provides all resources that are required to run the standard can protocol (11-bit identifiers) as well as the extended can protocol (29-bit identifiers). it provides a sophisticated object layer to relieve the cpu of as much overhead as possible when controlling many different message objects (up to 15). this includes bus arbitration, resending of garbled messages, error handling, interrupt generation, etc. in order to implement the physical layer, external components have to be connected to the c515c. the internal bus interface connects the on-chip can controller to the internal bus of the microcontroller. the registers and data locations of the can interface are mapped to a specific 256 byte wide address range of the external data memory area (f700 h to f7ff h ) and can be accessed using movx instructions. figure 17 shows a block diagram of the on-chip can controller. figure 17 can controller block diagram
c515c semiconductor group 42 1997-07-01 the tx/rx shift register holds the destuffed bit stream from the bus line to allow the parallel access to the whole data or remote frame for the acceptance match test and the parallel transfer of the frame to and from the intelligent memory. the bit stream processor (bsp) is a sequencer controlling the sequential data stream between the tx/rx shift register, the crc register, and the bus line. the bsp also controls the eml and the parallel data stream between the tx/rx shift register and the intelligent memory such that the processes of reception, arbitration, transmission, and error signalling are performed according to the can protocol. note that the automatic retransmission of messages which have been corrupted by noise or other external error conditions on the bus line is handled by the bsp. the cyclic redundancy check register (crc) generates the cyclic redundancy check code to be transmitted after the data bytes and checks the crc code of incoming messages. this is done by dividing the data stream by the code generator polynomial. the error management logic (eml) is responsible for the fault confinement of the can device. its counters, the receive error counter and the transmit error counter, are incremented and decremented by commands from the bit stream processor. according to the values of the error counters, the can controller is set into the states error active , error passive and busoff. the bit timing logic (btl) monitors the busline input rxdc and handles the busline related bit timing according to the can protocol. the btl synchronizes on a recessive to dominant busline transition at start of frame (hard synchronization) and on any further recessive to dominant busline transition, if the can controller itself does not transmit a dominant bit (resynchronization). the btl also provides programmable time segments to compensate for the propagation delay time and for phase shifts and to define the position of the sample point in the bit time. the programming of the btl depends on the baudrate and on external physical delay times. the intelligent memory (cam/ram array) provides storage for up to 15 message objects of maximum 8 data bytes length. each of these objects has a unique identifier and its own set of control and status bits. after the initial configuration, the intelligent memory can handle the reception and transmission of data without further microcontroller actions.
semiconductor group 43 1997-07-01 c515c 10-bit a/d converter the c515c includes a high performance / high speed 10-bit a/d-converter (adc) with 8 analog input channels. it operates with a successive approximation technique and uses self calibration mechanisms for reduction and compensation of offset and linearity errors. the a/d converter provides the following features: 8 multiplexed input channels (port 6), which can also be used as digital inputs 10-bit resolution single or continuous conversion mode internal or external start-of-conversion trigger capability interrupt request generation after each conversion using successive approximation conversion technique via a capacitor array built-in hidden calibration of offset and linearity errors the main functional blocks of the a/d converter are shown in figure 19 . the a/d converter uses basically two clock signals for operation : the input clock f in (=1/t in ) and the conversion clock f adc (=1/t adc ). these clock signals are derived from the c515c system clock f osc which is applied at the xtal pins. the input clock f in is equal to f osc . the conversion clock is limited to a maximum frequency of 2 mhz and therefore must be adapted to f osc by programming the conversion clock prescaler. the table in figure 18 shows the prescaler ratios and the resulting a/d conversion times which must be selected for typical system clock rates. figure 18 a/d converter clock selection mcu system clock rate (f osc ) adcl conversion clock f adc [mhz] 2 mhz 0 .5 4 mhz 0 1 6 mhz 0 1.5 8 mhz 0 2 10 mhz 1 1.25
c515c semiconductor group 44 1997-07-01 figure 19 a/d converter block diagram
semiconductor group 45 1997-07-01 c515c interrupt system the c515c provides 17 interrupt sources with four priority levels. seven interrupts can be generated by the on-chip peripherals (timer 0, timer 1, timer 2, serial interface, a/d converter, ssc interface, can controller), and ten interrupts may be triggered externally (p1.5/t2ex, p3.2/int0, p3.3/int1, p1.4/int2, p1.0/int3 , p1.1/int4, p1.2/int5, p1.3/int6, p7.0/int7 , p4.5/int8 ). the wake-up from power-down mode interrupt has a special functionality which allows to exit from the software power-down mode by a short low pulse at pin p3.2/int0 . in the c515c the 17 interrupt sources are combined to six groups of two or three interrupt sources. each interrupt group can be programmed to one of the four interrupt priority levels. figure 20 to 22 give a general overview of the interrupt sources and illustrate the interrupt request and control flags.
c515c semiconductor group 46 1997-07-01 figure 20 interrupt request sources (part 1)
semiconductor group 47 1997-07-01 c515c figure 21 interrupt request sources (part 2)
c515c semiconductor group 48 1997-07-01 figure 22 interrupt request sources (part 3)
semiconductor group 49 1997-07-01 c515c table 9 interrupt source and vectors interrupt source interrupt vector address interrupt request flags external interrupt 0 0003 h ie0 timer 0 overflow 000b h tf0 external interrupt 1 0013 h ie1 timer 1 overflow 001b h tf1 serial channel 0023 h ri / ti timer 2 overflow / ext. reload 002b h tf2 / exf2 a/d converter 0043 h iadc external interrupt 2 004b h iex2 external interrupt 3 0053 h iex3 external interrupt 4 005b h iex4 external interrupt 5 0063 h iex5 external interrupt 6 006b h iex6 wake-up from power-down mode 007b h can controller 008b h external interrupt 7 00a3 h external interrupt 8 00ab h ssc interface 0093 h tc / wcol
c515c semiconductor group 50 1997-07-01 fail save mechanisms the c515c offers two on-chip peripherals which monitor the program flow and ensure an automatic "fail-safe" reaction for cases where the controller? hardware fails or the software hangs up: a programmable watchdog timer (wdt) with variable time-out period from 512 microseconds up to approx. 1.1 seconds at 6 mhz. an oscillator watchdog (owd) which monitors the on-chip oscillator and forces the microcontroller into reset state in case the on-chip oscillator fails; it also provides the clock for a fast internal reset after power-on. programmable watchdog timer the watchdog timer in the c515c is a 15-bit timer, which is incremented by a count rate of f osc /6 up to f osc /192. for programming of the watchdog timer overflow rate, the upper 7 bit of the watchdog timer can be written. figure 23 shows the block diagram of the watchdog timer unit. figure 23 block diagram of the programmable watchdog timer the watchdog timer can be started by software (bit swdt) or by hardware through pin pe /swd, but it cannot be stopped during active mode of the c515c. if the software fails to refresh the running watchdog timer an internal reset will be initiated on watchdog timer overflow. for refreshing of the watchdog timer the content of the sfr wdtrel is transfered to the upper 7-bit of the watchdog timer. the refresh sequence consists of two consequtive instructions which set the bits wdt and swdt each. the reset cause (external reset or reset caused by the watchdog) can be examined by software (flag wdts). it must be noted, however, that the watchdog timer is halted during the idle mode and power down mode of the processor.
semiconductor group 51 1997-07-01 c515c oscillator watchdog the oscillator watchdog unit serves for four functions: monitoring of the on-chip oscillator's function the watchdog supervises the on-chip oscillator's frequency; if it is lower than the frequency of the auxiliary rc oscillator in the watchdog unit, the internal clock is supplied by the rc oscillator and the device is brought into reset; if the failure condition disappears (i.e. the on- chip oscillator has a higher frequency than the rc oscillator), the part executes a final reset phase of typ. 1 ms in order to allow the oscillator to stabilize; then the oscillator watchdog reset is released and the part starts program execution again. fast internal reset after power-on the oscillator watchdog unit provides a clock supply for the reset before the on-chip oscillator has started. the oscillator watchdog unit also works identically to the monitoring function. restart from the hardware power down mode. if the hardware power down mode is terminated the oscillator watchdog has to control the correct start-up of the on-chip oscillator and to restart the program. the oscillator watchdog function is only part of the complete hardware power down sequence; however, the watchdog works identically to the monitoring function. control of external wake-up from software power-down mode when the software power-down mode is left by a low level at the p3.2/int0 pin, the oscillator watchdog unit assures that the microcontroller resumes operation (execution of the power- down wake-up interrupt) with the nominal clock rate. in the power-down mode the rc oscillator and the on-chip oscillator are stopped. both oscillators are started again when power-down mode is released. when the on-chip oscillator has a higher frequency than the rc oscillator, the microcontroller starts operation after a final delay of typ. 1 ms in order to allow the on-chip oscillator to stabilize.
c515c semiconductor group 52 1997-07-01 figure 24 block diagram of the oscillator watchdog power saving modes the c515c provides two basic power saving modes, the idle mode and the power down mode. additionally, a slow down mode is available. this power saving mode reduces the internal clock rate in normal operating mode and it can be also used for further power reduction in idle mode. idle mode the cpu is gated off from the oscillator. all peripherals are still provided with the clock and are able to work. idle mode is entered by software and can be left by an interrupt or reset. power down mode the operation of the c515c is completely stopped and the oscillator is turned off. this mode is used to save the contents of the internal ram with a very low standby current. software power down mode : software power down mode is entered by software and can be left by reset or by a short low pulse at pin p3.2/int0 . hardware power down mode : hardware power down mode is entered when the pin hwpd is put to low level.
semiconductor group 53 1997-07-01 c515c slow-down mode the controller keeps up the full operating functionality, but its normal clock frequency is internally divided by 32. this slows down all parts of the controller, the cpu and all peripherals, to 1/32-th of their normal operating frequency. slowing down the frequency significantly reduces power consumption. the slow down mode can be combined with the idle mode. table 10 gives a general overview of the entry and exit conditions of the power saving modes. in the power down mode of operation, v cc can be reduced to minimize power consumption. it must be ensured, however, that v cc is not reduced before the power down mode is invoked, and that v cc is restored to its normal operating level, before the power down mode is terminated. if e.g. the idle mode is left through an interrupt, the microcontroller state (cpu, ports, peripherals) remains preserved. if a power saving mode is left by a hardware reset, the microcontroller state is disturbed and replaced by the reset state of the c515c. table 10 power saving modes overview mode entering (2-instruction example leaving by remarks idle mode orl pcon, #01h orl pcon, #20h ocurrence of an interrupt from a peripheral unit cpu clock is stopped; cpu maintains their data; peripheral units are active (if enabled) and provided with clock hardware reset software power-down mode orl pcon, #02h orl pcon, #40h hardware reset oscillator is stopped; contents of on-chip ram and sfr? are maintained; short low pulse at pin p3.2/int0 hardware power-down mode hwpd = low hwpd = high c515c is put into its reset state and the oscillator is stopped; ports become floating outputs slow down mode orl pcon,#10h anl pcon,#0efh or hardware reset oscillator frequency is reduced to 1/32 of its nominal frequency
c515c semiconductor group 54 1997-07-01 absolute maximum ratings ambient temperature under bias ( t a ) ......................................................... ?40 to 110 c storage temperature ( t stg ) .......................................................................... ?65 c to 150 c voltage on v cc pins with respect to ground ( v ss ) ....................................... ?0.5 v to 6.5 v voltage on any pin with respect to ground ( v ss ) ......................................... ?0.5 v to v cc +0.5 v input current on any pin during overload condition..................................... ?10 ma to 10 ma absolute sum of all input currents during overload condition ..................... i 100 ma i power dissipation........................................................................................ tbd note: stresses above those listed under ?bsolute maximum ratings?may cause permanent damage of the device. this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. exposure to absolute maximum rating conditions for longer periods may affect device reliability. during overload conditions ( v in > v cc or v in < v ss ) the voltage on v cc pins with respect to ground ( v ss ) must not exceed the values defined by the absolute maximum ratings.
semiconductor group 55 1997-07-01 c515c dc characteristics v cc = 5 v + 10%, ?15%; v ss = 0 v t a = 0 to 70 c for the sab-c515c-8r t a = ?40 to 85 c for the saf-c515c-8r t a = ?40 to 110 c for the sah-c515c-8r parameter symbol limit values unit test condition min. max. input low voltages all except ea , reset , hwpd ea pin reset and hwpd pins port 5 in cmos mode v il v il1 v il2 v ilc ?0.5 ?0.5 ?0.5 ?0.5 0.2 v cc ?0.1 0.2 v cc ?0.3 0.2 v cc + 0.1 0.3 v cc v v v v input high voltages all except xtal2, reset , and hwpd ) xtal2 pin reset and hwpd pins port 5 in cmos mode v ih v ih1 v ih2 v ihc 0.2 v cc + 0.9 0.7 v cc 0.6 v cc 0.7 v cc v cc + 0.5 v cc + 0.5 v cc + 0.5 v cc + 0.5 v v v v output low voltages ports 1, 2, 3, 4, 5, 7 (incl. cmos) port 0, ale, psen , cpur p4.1, p4.3 in push-pull mode v ol v ol1 v ol3 0.45 0.45 0.45 v v v i ol = 1.6 ma 1) i ol = 3.2 ma 1) i ol = 3.75 ma 1) output high voltages ports 1, 2, 3, 4, 5, 7 port 0 in external bus mode, ale, psen , cpur port 5 in cmos mode p4.1, p4.3 in push-pull mode v oh v oh2 v ohc v oh3 2.4 0.9 v cc 2.4 0.9 v cc 0.9 v cc 0.9 v cc v v v v v v i oh = ?80 m a i oh = ?10 m a ) i oh = ?800 m a i oh = ?80 m a 2) i oh = ?800 m a i oh = ?833 m a logic 0 input current ports 1, 2, 3, 4, 5, 7 i il ?10 ?70 m a v in = 0.45 v logical 0-to-1 transition current ports 1, 2, 3, 4, 5, 7 i tl ?65 ?650 m a v in = 2 v input leakage current port 0, ea , p6, hwpd , ain0-7 i li 1 m a 0.45 < v in < v cc input low current to reset for reset xtal2 pe /swd i li2 i li3 i li4 ?100 ?15 ?20 m a m a m a v in = 0.45 v v in = 0.45 v v in = 0.45 v pin capacitance c io ?0pf f c = 1 mhz, t a = 25 c overload current i ov 5ma 8) 9)
c515c semiconductor group 56 1997-07-01 power supply current 1) capacitive loading on ports 0 and 2 may cause spurious noise pulses to be superimposed on the v ol of ale and port 3. the noise is due to external bus capacitance discharging into the port 0 and port 2 pins when these pins make 1-to-0 transitions during bus operation. in the worst case (capacitive loading > 100 pf), the noise pulse on ale line may exceed 0.8 v. in such cases it may be desirable to qualify ale with a schmitt-trigger, or use an address latch with a schmitt-trigger strobe input. 2) capacitive loading on ports 0 and 2 may cause the v oh on ale and psen to momentarily fall below the 0.9 v cc specification when the address lines are stabilizing. 3) i pd (power-down mode) is measured under following conditions: ea = reset = port 0 = port 6 = v cc ; xtal1 = n.c.; xtal2 = v ss ; pe /swd = v ss ; hwpd = v cc ; v agnd = v ss ; v aref = v cc ; all other pins are disconnected. i pd (hardware power-down mode) is independent of any particular pin connection. 4) i cc (active mode) is measured with: xtal2 driven with t clch , t chcl = 5 ns , v il = v ss + 0.5 v, v ih = v cc ?0.5 v; xtal1 = n.c.; ea = pe /swd = port 0 = port 6 = v cc ; hwpd = v cc ; reset = v ss ; all other pins are disconnected. 5) i cc (idle mode) is measured with all output pins disconnected and with all peripherals disabled; xtal2 driven with t clch , t chcl = 5 ns, v il = v ss + 0.5 v, v ih = v cc ?0.5 v; xtal1 = n.c.; reset = v cc ; ea = v ss ; port0 = v cc ; all other pins are disconnected; 6) i cc (active mode with slow-down mode) is measured : tbd 7) i cc (idle mode with slow-down mode) is measured : tbd 8) overload conditions occur if the standard operating conditions are exceeded, ie. the voltage on any pin exceeds the specified range (i.e. v ov > v cc + 0.5 v or v ov < v ss - 0.5 v). the supply voltage v cc and v ss must remain within the specified limits. the absolute sum of input currents on all port pins may not exceed 50 ma. 9) not 100% tested, guaranteed by design characterization 10)the typical i cc values are periodically measured at t a = +25 ?c and v cc = 5 v but not 100% tested. 11)the maximum i cc values are measured under worst case conditions ( t a = 0 ?c or -40 ?c and v cc = 5.5 v) parameter symbol limit values unit test condition typ. 10) max. 11) active mode 6 mhz 10 mhz i cc i cc 12.0 18.9 16.1 25.5 ma ma 4) idle mode 6 mhz 10 mhz i cc i cc 6.9 10.5 9.8 15 ma ma 5) active mode with slow-down enabled 6 mhz 10 mhz i cc i cc tbd tbd tbd tbd ma ma 6) idle mode with slow-down enabled 6 mhz 10 mhz i cc i cc tbd tbd tbd tbd ma ma 7) power-down mode i pd tbd 50 m a v cc = 2 ? 5.5 v 3)
semiconductor group 57 1997-07-01 c515c figure 25 icc diagram power supply current calculation formulas note : f osc is the oscillator frequency in mhz. i cc values are given in ma. parameter symbol formula active mode i cc typ i cc max 1.72 * f osc + 1.72 2.33 * f osc + 2.15 idle mode i cc typ i cc max 0.9 * f osc + 1.5 1.3 * f osc + 2.0 active mode with slow-down enabled i cc typ i cc max tbd tbd idle mode with slow-down enabled i cc typ i cc max tbd tbd cc i 0 02457 osc f mcd03313 13 68 mhz 10 ma active mode active mode idle mode idle mode cc max i cc typ i 5 10 15 20 25
c515c semiconductor group 58 1997-07-01 a/d converter characteristics v cc = 5 v + 10%, ?15%; v ss = 0 v t a = 0 to 70 c for the sab-c515c-8r t a = ?40 to 85 c for the saf-c515c-8r t a = ?40 to 110 c for the sah-c515c-8r 4 v v aref v cc +0.1 v ; v ss -0.1 v v agnd v ss +0.2 v notes see next page. clock calculation table : further timing conditions : t adc min = 500 ns t in = 1 / f osc = t clp parameter symbol limit values unit test condition min. max. analog input voltage v ain v agnd v aref v 1) sample time t s 16 x t in 8 x t in ns prescaler ? 8 prescaler ? 4 2) conversion cycle time t adcc 96 x t in 48 x t in ns prescaler ? 8 prescaler ? 4 3) total unadjusted error t ue 2 lsb 4) internal resistance of reference voltage source r aref t adc / 250 - 0.25 k w t adc in [ns] 5) 6) internal resistance of analog source r asrc t s / 500 - 0.25 k w t s in [ns] 2) 6) adc input capacitance c ain ?0pf 6) clock prescaler ratio adcl t adc t s t adcc ? 8 1 8 x t in 16 x t in 96 x t in ? 4 0 4 x t in 8 x t in 48 x t in
semiconductor group 59 1997-07-01 c515c notes: 1) v ain may exeed v agnd or v aref up to the absolute maximum ratings. however, the conversion result in these cases will be x000 h or x3ff h , respectively. 2) during the sample time the input capacitance c ain can be charged/discharged by the external source. the internal resistance of the analog source must allow the capacitance to reach their final voltage level within t s . after the end of the sample time t s , changes of the analog input voltage have no effect on the conversion result. 3) this parameter includes the sample time t s , the time for determining the digital result and the time for the calibration. values for the conversion clock t adc depend on programming and can be taken from the table on the previous page. 4) t ue is tested at v aref = 5.0 v, v agnd = 0 v, v cc = 4.9 v. it is guaranteed by design characterization for all other voltages within the defined voltage range. if an overload condition occurs on maximum 2 not selected analog input pins and the absolute sum of input overload currents on all analog input pins does not exceed 10 ma, an additional conversion error of 1/2 lsb is permissible. 5) during the conversion the adc? capacitance must be repeatedly charged or discharged. the internal resistance of the reference source must allow the capacitance to reach their final voltage level within the indicated time. the maximum internal resistance results from the programmed conversion timing. 6) not 100% tested, but guaranteed by design characterization.
c515c semiconductor group 60 1997-07-01 ac characteristics v cc = 5 v + 10%, ?15%; v ss = 0 v t a = 0 to 70 c for the sab-c515c-8r t a = ?40 to 85 c for the saf-c515c-8r t a = ?40 to 110 c for the sah-c515c-8r ( c l for port 0, ale and psen outputs = 100 pf; c l for all other outputs = 80 pf) program memory characteristics *) interfacing the c515c to devices with float times up to 35 ns is permissible. this limited bus contention will not cause any damage to port 0 drivers. parameter symbol limit values unit 10-mhz clock duty cycle 0.4 to 0.6 variable clock 1/clp = 2 mhz to 10 mhz min. max. min. max. ale pulse width t lhll 60 clp - 40 ns address setup to ale t avll 15 tcl hmin -25 ns address hold after ale t llax 15 tcl hmin -25 ns ale to valid instruction in t lliv 113 2 clp - 87 ns ale to psen t llpl 20 tcl lmin -20 ns psen pulse width t plph 115 clp+ tcl hmin -30 ?s psen to valid instruction in t pliv 75 clp+ tcl hmin - 65 ns input instruction hold after psen t pxix 00?s input instruction float after psen t pxiz *) 30 tcl lmin -10 ns address valid after psen t pxav *) 35 tcl lmin - 5 ns address to valid instruction in t aviv 180 2 clp + tcl hmin -60 ns address float to psen t azpl 0 0?s
semiconductor group 61 1997-07-01 c515c external data memory characteristics parameter symbol limit values unit 10-mhz clock duty cycle 0.4 to 0.6 variable clock 1/clp= 2 mhz to 10 mhz min. max. min. max. rd pulse width t rlrh 230 3 clp - 70 ns wr pulse width t wlwh 230 3 clp - 70 ns address hold after ale t llax2 48 clp - 15 ns rd to valid data in t rldv 150 2 clp+ tcl hmin - 90 ns data hold after rd t rhdx 00ns data float after rd t rhdz 80 clp - 20 ns ale to valid data in t lldv 267 4 clp - 133 ns address to valid data in t avdv 285 4 clp + tcl hmin -155 ns ale to wr or rd t llwl 90 190 clp + tcl lmin - 50 clp+ tcl lmin + 50 ns address valid to wr t avwl 103 2 clp - 97 ns wr or rd high to ale high t whlh 15 65 tcl hmin - 25 tcl hmin + 25 ns data valid to wr transition t qvwx 5 tcl lmin - 35 ns data setup before wr t qvwh 218 3 clp + tcl lmin - 122 ?s data hold after wr t whqx 13 tcl hmin - 27 ns address float after rd t rlaz ? 0 ns
c515c semiconductor group 62 1997-07-01 note: the 10 mhz values in the tables are given as an example for a typical duty cycle variation of the oscillator clock from 0.4 to 0.6. ssc interface characteristics parameter symbol limit values unit min. max. clock cycle time : master mode slave mode t sclk t sclk 0.4 1.0 m s m s clock high time t sch 360 ns clock low time t scl 360 ns data output delay t d 100 ns data output hold t ho 0?s data input setup t s 100 ns data input hold t hi 100 ns tc bit set delay t dtc 8 clp ns external clock drive at xtal2 parameter symbol cpu clock = 10 mhz duty cycle 0.4 to 0.6 variable cpu clock 1/clp = 2 to 10 mhz unit min. max. min. max. oscillator period clp 100 100 100 500 ns high time tcl h 40 40 clp-tcl l ns low time tcl l 40 40 clp-tcl h ns rise time t r 12 12 ns fall time t f 12 12 ns oscillator duty cycle dc 0.4 0.6 40 / clp 1 - 40 / clp clock cycle tcl 40 60 clp * dc min clp * dc max ns
semiconductor group 63 1997-07-01 c515c figure 26 program memory read cycle figure 27 data memory read cycle mct00096 ale psen port 2 lhll t a8 - a15 a8 - a15 a0 - a7 instr.in a0 - a7 port 0 t avll plph t t llpl t lliv t pliv t azpl t llax t pxiz t pxix t aviv t pxav mct00097 ale psen port 2 whlh t port 0 rd t lldv t rlrh t llwl t rldv t avll t llax2 t rlaz t avwl t avdv t rhdx t rhdz a0 - a7 from ri or dpl from pcl a0 - a7 instr. in data in a8 - a15 from pch p2.0 - p2.7 or a8 - a15 from dph
c515c semiconductor group 64 1997-07-01 figure 28 data memory write cycle figure 29 external clock drive at xtal2 mct00098 ale psen port 2 whlh t port 0 wr t wlwh t llwl t qvwx t avll t llax2 t qvwh t avwl t whqx a0 - a7 from ri or dpl from pcl a0 - a7 instr.in data out a8 - a15 from pch p2.0 - p2.7 or a8 - a15 from dph
semiconductor group 65 1997-07-01 c515c figure 30 ssc timing notes : shown is the data/clock relationship for cpol=cpha=1. the timing diagram is valid for the other cases accordingly. in the case of slave mode and cpha=0, the output delay for the msb applies to the falling edge of sls (if transmitter is enabled). in the case of master mode and cpha=0, the msb becomes valid after the data has been written into the shift register, i.e. at least one half sclk clock cycle before the first clock transition. mct02417 sclk sto sri tc t scl msb lsb msb lsb sch t t sclk s t hi t ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ d tt hd dtc t
c515c semiconductor group 66 1997-07-01 rom verification mode 1 figure 31 rom verification mode 1 parameter symbol limit values unit min. max. address to valid data t avqv 5 clp ns
semiconductor group 67 1997-07-01 c515c rom verification mode 2 figure 32 rom verification mode 2 parameter symbol limit values unit min. typ max. ale pulse width t awd clp ns ale period t acy 6 clp ns data valid after ale t dva 2 clp ns data stable after ale t dsa 4 clp ns p3.5 setup to ale low t as t cl ?s oscillator frequency 1/ clp 4?mhz mct02613 t acy t awd t dsa dva t t as data valid ale port 0 p3.5
c515c semiconductor group 68 1997-07-01 figure 33 ac testing: input, output waveforms figure 34 ac testing : float waveforms figure 35 recommended oscillator circuits for crystal oscillator ac inputs during testing are driven at v cc - 0.5 v for a logic ??and 0.45 v for a logic ?? timing measurements are made at v ihmin for a logic ??and v ilmax for a logic ?? 0.45 v v cc 0.2 -0.1 +0.9 0.2 cc v test points mct00039 v cc -0.5 v for timing purposes a port pin is no longer floating when a 100 mv change from load voltage occurs and begins to float when a 100 mv change from the loaded v oh / v ol level occurs. i ol / i oh 3 20 ma mct00038 v load v load -0.1 v +0.1 v load v timing reference points v oh -0.1 v +0.1 v ol v
semiconductor group 69 1997-07-01 c515c figure 36 package outlines gpm05249 p-mqfp-80-1 (smd) (plastic metric quad flat package) sorts of packing package outlines for tubes, trays etc. are contained in our data book ?ackage information dimensions in mm smd = surface mounted device


▲Up To Search▲   

 
Price & Availability of Q67121-C1058

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X